From: Paul Dee Date: Fri, 10 Feb 2023 20:15:00 +0000 (+0100) Subject: luci-app-firewall: remove the '', 'any' mapping in icmpv6 entries X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=7bf1c2daa02c070e6c8b76eadadd1648ed592851;p=project%2Fluci.git luci-app-firewall: remove the '', 'any' mapping in icmpv6 entries This prevents its inconsistent checked/unchecked behaviour when exiting and re-entering the dialogue. Tested on 22.03.3 Signed-off-by: Paul Dee --- diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js index c579c4aab1..9908121637 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js @@ -294,8 +294,7 @@ return view.extend({ o.multiple = true; o.custom = true; o.cast = 'table'; - o.placeholder = _('any'); - o.value('', 'any'); + o.placeholder = _('any/all'); o.value('address-mask-reply'); o.value('address-mask-request'); o.value('address-unreachable'); /* ipv6 */